/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.brain.dao;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.brain.entity.BUserRankData;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 用户排位数据DAO接口
 * @author 程展峰
 * @version 2021-09-18
 */
@MyBatisDao
public interface BUserRankDataDao extends CrudDao<BUserRankData> {
    List<BUserRankData> findHundredRank(BUserRankData m);
    BUserRankData getCurrRank(BUserRankData m);

    int updateCurrStar(@Param("userId") String userId,@Param("rankStar") int rankStar);
}